﻿using DemoWebapi01.Entities;

namespace DemoWebapi01.Models
{
    public class UserModel
    {

    }
    // 添加请求模型类
    public class CreateUserRequest
    {
        public string? UserName { get; set; }
        public string? Password { get; set; }
        public string? Email { get; set; }
    }
    public class LoginRequest
    {
        public string? UserName { get; set; }
        public string? Password { get; set; }
    }
    public class LoginResponse
    {
        public string? Token { get; set; }
        public object? User { get; set; }
    }

}
